package com.ln.dto;

public class ResponseBodyJSON implements Cloneable {

	private int status;
	private String message;
	private Object date;

	public ResponseBodyJSON(){}

	public ResponseBodyJSON(int status) {
		super();
		this.status = status;
	}

	public ResponseBodyJSON(int status, String message) {
		super();
		this.status = status;
		this.message = message;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getDate() {
		return date;
	}

	public void setDate(Object date) {
		this.date = date;
	}
	
	@Override
	public Object clone() throws CloneNotSupportedException {
		return super.clone();
	}
	
	public ResponseBodyJSON set(int status, String message, Object date) {
		this.status = status;
		this.message = message;
		this.date = date;
		return this;
	}
	
}
